package IBBB.network.sendmessage;


import javafx.concurrent.Task;

import java.net.InetSocketAddress;
import java.net.SocketAddress;

public class send_String extends Task<Void> {
    private String serverIP="127.0.0.1";
    private final int PORT_NUMBER=6666;
    SocketAddress message_socket;
    String target_message;
    //String local_ip=new LocalIP().get_local_ip();//测试用local_ip，预留接口
    send_String(String server) {
        serverIP = server;
        message_socket = new InetSocketAddress(serverIP, PORT_NUMBER);
    }
    @Override
    public Void call() {
        return null;
    }
}
